<?php
namespace app\common\model;

use think\Model;

class Article extends Model{

    public function cate(){
        return $this->belongsTo(Cate::class,'cate_id','id');
    }

}